package com.coldlz.mmp.app;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coldlz.mmp.pojo.HttpRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface HttpRecordMapper extends BaseMapper<HttpRecord> {

    @Select("select count(*) as num from sqlite_master where tbl_name=#{tableName} ")
    int existsTable(@Param("tableName") String tableName);

}
